package com.hmall.api.config;
/*
  Date: 2023/12/05
  Author: Luochao
  Description:
*/

import com.hmall.api.fallback.ItemClientFallback;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FallBackConfig {
    /**
     * 商品fallback
     * @return
     */
    @Bean
    public ItemClientFallback ItemClientFallbackFactory() {
        return new ItemClientFallback();
    }
}
